<template>
  <div class="flex w-full border-b-4 border-gray-800">
    <component
      :is="`AppNotification${notification.type}`"
      :notification="notification"
    />
  </div>
</template>

<script>
export default {
  props: {
    notification: {
      required: true,
      type: Object,
    },
  },
};
</script>
